import request from "@/utils/request";

// 查询发布信息用户操作列表
export function listSysPublishUser(query) {
  return request({
    url: "/biz/sysPublishUser/list",
    method: "get",
    params: query,
  });
}

// 查询发布信息用户操作详细
export function getSysPublishUser(id) {
  return request({
    url: "/biz/sysPublishUser/" + id,
    method: "get",
  });
}

// 新增发布信息用户操作
export function addSysPublishUser(data) {
  return request({
    url: "/biz/sysPublishUser",
    method: "post",
    data: data,
  });
}

// 修改发布信息用户操作
export function updateSysPublishUser(data) {
  return request({
    url: "/biz/sysPublishUser",
    method: "put",
    data: data,
  });
}

// 删除发布信息用户操作
export function delSysPublishUser(id) {
  return request({
    url: "/biz/sysPublishUser/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/sysPublishUser/findMaxSort",
    method: "get",
  });
}
// 导出发布信息用户操作
export function exportSysPublishUser(query) {
  return request({
    url: "/biz/sysPublishUser/export",
    method: "get",
    params: query,
  });
}
